package com.ethan.crm.mapper;

import com.ethan.crm.domain.Permission;
import com.ethan.crm.query.BaseQueryObject;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    Long queryForPageCount(BaseQueryObject qo);

    List<Permission> queryForPage(BaseQueryObject queryObject);

    List<String> queryByEid(Long id);
}